<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>run (FprExdCmd)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File lib/fpr_exd.rb, line 138</span>
        <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">run</span>
                <span class="ruby-identifier">cleanup</span>
                <span class="ruby-identifier">unzip</span>
                <span class="ruby-identifier">load_xml</span>
                <span class="ruby-identifier">extension_filter</span>
                <span class="ruby-identifier">prefix_input</span> =<span class="ruby-value str">&quot;inetpub/wwwroot/&quot;</span>
                <span class="ruby-keyword kw">until</span> <span class="ruby-identifier">prefix_input</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'.'</span>
                        <span class="ruby-identifier">check_prefix</span> <span class="ruby-identifier">prefix_input</span> 
                        <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;Keyword [#{prefix_input}] was removed from the file list.&quot;</span>
                        <span class="ruby-identifier">prefix_input</span> = <span class="ruby-identifier">ask</span>(<span class="ruby-value str">&quot;Enter new text to remove from the file list.(input '.' when done) &quot;</span>){<span class="ruby-operator">|</span><span class="ruby-identifier">q</span><span class="ruby-operator">|</span> <span class="ruby-identifier">q</span>}
                <span class="ruby-keyword kw">end</span>
                <span class="ruby-identifier">choose</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">menu</span><span class="ruby-operator">|</span>
                        <span class="ruby-identifier">menu</span>.<span class="ruby-identifier">prompt</span> =<span class="ruby-value str">&quot;Please select an output format:&quot;</span>
                        <span class="ruby-identifier">menu</span>.<span class="ruby-identifier">choice</span>(<span class="ruby-identifier">:exd</span>){<span class="ruby-identifier">exd_output</span>}
                        <span class="ruby-identifier">menu</span>.<span class="ruby-identifier">choice</span>(<span class="ruby-identifier">:txt</span>){<span class="ruby-identifier">txt_output</span>}
                <span class="ruby-keyword kw">end</span>
                <span class="ruby-identifier">cleanup</span>
        <span class="ruby-keyword kw">end</span></pre>
</body>
</html>